<?php if($thread['visibility'] > 0) {
$viarr = array(
0=>'所有人可见',
1=>'管理可见',
2=>'楼主可见',

);
?>
<div>
<p>
本帖的回复<?php echo $viarr[$thread['visibility']]; ?>
</p>
</div>
<?php } ?>
